package com.xm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 启用 FeignClient 客户端
@EnableDiscoveryClient
// 启用服务发现（Nacos/Eureka）
@EnableFeignClients
public class XmApplication02Application {

    public static void main(String[] args) {
        SpringApplication.run(XmApplication02Application.class, args);
    }

}
